<template>
    <div class="schoolifo">
        <SayHello></SayHello>
        <p>学校：{{schoolname}}</p>
        <p>地址：{{address}}</p>
    </div>
</template>

<script>
    import hello from './SayHello.vue'
    export default {
        name:'SchoolN',
        data(){
            return {
                schoolname:"TJCU",
                address:'天津'  
            }
        },
        components:{
            SayHello:hello
        }
    }
</script>

<style>
    .schoolifo{
        background-color: lightblue;
    }
</style>